Brief Announcement: Semantics of Eventually Consistent Replicated Sets

نویسندگان

  • Annette Bieniusa
  • Marek Zawirski
  • Nuno M. Preguiça
  • Marc Shapiro
  • Carlos Baquero
  • Valter Balegas
  • Sérgio Duarte
چکیده

This paper studies the semantics of sets under eventual consistency. The set is a pervasive data type, used either directly or as a component of more complex data types, such as maps or graphs. Eventual consistency of replicated data supports concurrent updates, reduces latency and improves fault tolerance, but forgoes strong consistency (e.g., linearisability). Accordingly, several cloud computing platforms implement eventually-consistent replicated sets [2,4]. The sequential semantics of a set are well known, and are defined by individual updates, e.g., {true}add(e){e ∈ S} (in “{pre-condition} computation {post-condition}” notation), where S denotes its abstract state. However, the semantics of concurrent modifications is left underspecified or implementationdriven. We propose the following Principle of Permutation Equivalence to express that concurrent behaviour conforms to the sequential specification: “If all sequential permutations of updates lead to equivalent states, then it should also hold that concurrent executions of the updates lead to equivalent states.” It implies the following behavior, for some updates u and u′: {P}u;u′{Q} ∧ {P}u′;u{Q′} ∧Q ⇔ Q′ ⇒ {P}u ‖ u′{Q}

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Composite Replicated Data Types

Modern large-scale distributed systems often rely on eventually consistent replicated stores, which achieve scalability in exchange for providing weak semantic guarantees. To compensate for this weakness, researchers have proposed various abstractions for programming on eventual consistency, such as replicated data types for resolving conflicting updates at different replicas and weak forms of ...

متن کامل

Understanding Eventual Consistency

Modern geo-replicated databases underlying large-scale In-ternet services guarantee immediate availability and tolerate networkpartitions at the expense of providing only weak forms of consistency,commonly dubbed eventual consistency. At the moment there is a lotof confusion about the semantics of eventual consistency, as differentsystems implement it with different sets of ...

متن کامل

Announcement : Preserving Happens - before in Persistent Memory ∗

Nonvolatile, byte-addressable memory (NVM) will soon be commercially available, but registers and caches are expected to remain transient on most machines. Without careful management, the data preserved in the wake of a crash are likely to be inconsistent and thus unusable. Previous work has explored the semantics of instructions used to push the contents of cache to NVM. These semantics compri...

متن کامل

Some Non-Classical Methods in (Epistemic) Modal Logic and Games: A Proposal

In this proposal, we discuss several non-classical frameworks, and their applications in epistemic modal logic. We largely consider topological semantics, as opposed to widely used Kripke semantics, paraconsistent systems, as opposed to consistent systems, and non-well-founded sets, as opposed to ZF(C) set theory. We discuss topological public announcement logics, introduce homotopies to modal ...

متن کامل

Large-Scale Geo-Replicated Conflict-free Replicated Data Types

Conflict-free Replicated Data Types (CRDTs) are data types whose operations do not conflict with each other and, therefore, can be replicated with minimal coordination among replicas. Relevant examples of data types that can be implemented as CRDTs are counters and sets. While it is easy to ensure that all replicas of CRDTs become eventually consistent when the system becomes quiescent, differe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012